package br.com.comanda.webservice.adapters;

import javax.xml.bind.annotation.adapters.XmlAdapter;

public class IntegerAdapter extends XmlAdapter {

	@Override
	public Integer unmarshal(Object v) throws Exception {
		System.out.println(">>>>>>>>>>>>>> TESTE");
		return Integer.parseInt(v.toString());
	}

	@Override
	public String marshal(Object v) throws Exception {
		return v.toString();
	}
}
